import request from "@/utils/request"
//获取联想记忆的搜索列表
export const search = q => request({
  url: "/v1_0/suggestion",
  params: {
    q
  }
})
//获取搜索结果
export const searchResults = data => request({
  url: '/v1_0/search',
  params: data
})